package com.xianyun.site.support.common.exception;

/**
 * @author mac_zyj
 *Sms 模块错误码
 */
public enum SmtpErrorCode  {
    /**业务异常*/
    SYS_MQ_BLOCK("SYS_MQ_BLOCK","Mq消息阻塞"),
    BIZ_MQ_OVERDUE("BIZ_MQ_OVERDUE","消息过期"),
    BIZ_SMTP_ERROR("BIZ_SMTP_ERROR", "邮件业务逻辑错误"),
    EMAIL_ONE_MIN_NOT_REPEAT_ERROR("B_SMTP_OneMinNotRepeat", "一分钟内重复发送错误"),
    EMAIL_SEND_TOO_MUCH_ERROR("B_SMTP_sendTooMuch", "邮件发送过多");

    /**错误码*/
    private String errCode;
    /**错误描述*/
    private String errDesc;

    SmtpErrorCode(String errCode, String errDesc) {
        this.errCode = errCode;
        this.errDesc = errDesc;
    }

    public String getErrCode() {
        return this.errCode;
    }

    public String getErrDesc() {
        return this.errDesc;
    }
}
